The following tables list the members exposed by DebugLockFactory<T>.
Name | Description | |
---|---|---|
![]() | DebugLockFactory<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | CurrentReaderCount | Returns the total number of current readers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | CurrentWriterCount | Returns the total number of current writers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | MaxReaderCount | Returns the highest number of concurrent reads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | MaxWriterCount | Returns the highest number of concurrent writes (aka max recursive count) (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | TotalReaderCount | Returns the total number of read locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | TotalWriterCount | Returns the total number of write locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
Name | Description | |
---|---|---|
![]() | CaptureStack | Toggle if the entire stack is captured on lock aquisition/release for newly created locks (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | ConcurrentReads | Toggle if reads are allowed even if write lock was acquired (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | LimitNestedReaders | Reader nesting limit for newly created locks (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | LimitNestedWriters | Writer nesting limit for newly created locks (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | LimitTimeout | Timeout limit for newly created locks (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | LocalReaderCount | Returns the total number of current readers for this thread (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
![]() | LocalWriterCount | Returns the total number of current writers for this thread (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |
Name | Description | |
---|---|---|
![]() | Create | Constructs the lock wrapped in a DebugLocking instance (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | GlobalAssertNoLocks | Asserts that none of the locks handed out are currently locked for read or write by any thread (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
![]() | LocalAssertNoLocks | Asserts that none of the locks handed out are currently locked for read or write by this thread (Inherited from CSharpTest.Net.Synchronization.DebugLockFactory) |